home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / mail / ms_qwik_46.lha / Install_MS-QWiK < prev    next >
Text File  |  1994-07-20  |  3KB  |  90 lines

  1. ; script to install MS-QWiK
  2. ; Should be run from WorkBench by double-clicking on the icon
  3. ; Requires a stack of 10000 bytes or more
  4.  
  5. (complete 0)
  6.  
  7. (set @default-dest "Work:")
  8.  
  9. (set version (/ (getversion) 65536))
  10. (set version2 36)
  11.  
  12. (set dest2 (askdir  (prompt "Select the location to install the MS-QWiK directory")
  13.                     (default @default-dest)
  14.                     (help "Choose a destination partition or directory " 
  15.                           "to contain the reader.  The install "
  16.                           "program will create a directory called 'MS-QWiK' "
  17.                           "in the location you choose and copy the "
  18.                           "reader files to it."
  19.                     )
  20.            )
  21. )
  22. (set dest1 (tackon dest2 "MS-QWiK"))
  23. (set @default-dest dest1)
  24. (message "MS-QWiK will be installed in " dest1)
  25. (makedir dest2 (safe) (infos))
  26. (makedir dest1 (safe) (infos))
  27.      
  28. (set parts
  29.      (askoptions 
  30.         (prompt "Choose the item you would like installed")
  31.         (choices "Reader")
  32.         (help "You may choose to install only part of the reader.  "
  33.               "If you do not install all parts, you may not be able to use "
  34.               "certain features.  You can choose to install those parts later "
  35.               "by rerunning this install program and selecting the new "
  36.               "parts at this point.  The parts you can choose to install "
  37.               "are:\n\n"
  38.  
  39.               "Reader - \nSelecting this item installs the pieces of the "
  40.               "reader that must be present to allow the reader to operate.\n\n"
  41.               
  42.               "Other options may be available in a future release\n\n"
  43.         )
  44.      )
  45. )
  46.                      
  47.    (message "This install program will soon install a new MS-QWiK Configuration File!\n\n Don't forget "
  48.             "to snapshot your old configuration NOW, before installing a new MS-QWiK version, to avoid confusion and help "
  49.             "ease you in the process of configuring your new version of " 
  50.             "MS-QWiK.\n\nYou may also [PROCEED] and choose not to install this "
  51.             "new config file at the CONFIGURATION FILE prompt.  Your old config "
  52.             "file, however, may cause the new version to crash upon booting.  If this "
  53.             "happens, re-run this install utility and you will once "
  54.             "again have the choice to install this new config file.\n\n"
  55.    )
  56.  
  57.  
  58. (if (IN parts 0)
  59.    (copyfiles
  60.       (prompt "Select the Reader files to copy")
  61.       (help @copylib-help)
  62.       (source "")
  63.       (dest dest1)
  64.       (choices "MS-QWiK" "MS-QWiK_DOC.GUIDE")
  65.       (optional "nofail")
  66.       (infos)
  67.       (confirm)
  68.    )
  69. )
  70.  
  71. ;copy support packer files now - LHA, Zip, etc,...
  72. (copylib
  73.    (prompt "Copying ASL.library to SYS:LIBS")
  74.    (help @copylib-help)
  75.    (source "LIBS/asl.library")
  76.    (dest "SYS:LIBS")
  77.    (optional nofail)
  78.    (confirm)
  79. )
  80. (copylib
  81.    (prompt "Copying ASL.library to SYS:LIBS")
  82.    (help @copylib-help)
  83.    (source "LIBS/amigaguide.library")
  84.    (dest "SYS:LIBS")
  85.    (optional nofail)
  86.    (confirm)
  87. )
  88.  
  89. (complete 100)
  90.